package com.youlu.campus.entity.data;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * 活动小时参与人数
 */
@Getter
@Setter
@Document(collection = "hour_activity_join_record")
public class HourActivityJoinRecord extends EntityBase {
    @Indexed
    private String activityId;
    private Integer num;
    @Indexed
    private Date time;
}
